package chapter_Thread_Ticket;

public class Test {
	public static void main(String[] args) throws InterruptedException {
		Ticket ticket = new Ticket();
		Thread person1 = new Thread(ticket,"黄牛党");
		Thread person2 = new Thread(ticket,"桃跑跑");
		Thread person3 = new Thread(ticket,"张票票");
		
		person1.start();
		person2.start();
		person3.start();
		
	}

}
